package com.jwds.digital.bios.business.rpc.feign.fallback;

import com.jwds.digital.bios.business.core.infrastructure.dto.feign.ElectricMachineHistoryReqDTO;
import com.jwds.digital.bios.business.core.infrastructure.dto.feign.model.*;
import com.jwds.digital.bios.business.core.infrastructure.vo.feign.FlowBasicRespVO;
import com.jwds.digital.bios.business.rpc.feign.RealTimeDataFeign;
import com.jwds.jmirror.data.service.api.InstanceDynamicAttrHistoryRespDTO;
import com.jwds.tdc.framework.application.lib.BaseResponse;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Author hesong
 */
@Component
public class RealTimeDataFeignFallback extends DefaultFallBack implements RealTimeDataFeign {
    @Override
    public BaseResponse<FlowPlcDTO> queryOneFlowPlcData(String deviceCode) {
        return fallBack();
    }

    @Override
    public BaseResponse<Map<String, FlowPlcDTO>> queryFlowPlcDataMap(List<String> deviceCodes) {
        return fallBack();
    }

    @Override
    public BaseResponse<List<FlowBasicRespVO>> currentOccFlowList() {
        return fallBack();
    }

    @Override
    public BaseResponse<ElectricMachineDTO> queryElectricMachine(String electricMachineCode) {
        return fallBack();
    }

    @Override
    public BaseResponse<Map<String, ElectricMachineDTO>> queryElectricMachineMap(List<String> electricMachineCodes) {
        return fallBack();
    }

    @Override
    public BaseResponse<Map<String, List<InstanceDynamicAttrHistoryRespDTO>>> queryElectricMachineHistory(ElectricMachineHistoryReqDTO reqDTO) {
        return fallBack();
    }

    @Override
    public BaseResponse<BeltScaleDTO> queryOneBeltScaleData(String beltScaleCode) {
        return fallBack();
    }

    @Override
    public BaseResponse<Map<String, BeltScaleDTO>> queryBeltScaleDataMap(List<String> beltScaleCodes) {
        return fallBack();
    }

    @Override
    public BaseResponse<DeviceStatusDTO> queryOneDeviceStatusData(String deviceCode) {
        return fallBack();
    }

    @Override
    public BaseResponse<Map<String, DeviceStatusDTO>> queryDeviceStatusDataMap(List<String> deviceCodes) {
        return fallBack();
    }

    @Override
    public BaseResponse<FeederStatusDTO> queryOneFeederStatusData(String slotCode) {
        return fallBack();
    }

    @Override
    public BaseResponse<Map<String, FeederStatusDTO>> queryFeederStatusDataMap(List<String> slotCodes) {
        return fallBack();
    }
}
